package com.sgcc.fj.pmos.e_fj_order.contract;

import com.sgcc.fj.pmos.common.base.IView;
import com.sgcc.fj.pmos.common.bean.BaseResponse;
import com.sgcc.fj.pmos.e_fj_order.bean.IndentBean;

public class ContractSearchContract {
    public interface View extends IView {
        void querySuccess(IndentBean response);

        void queryFailed();

        void relieveContractSuccess(BaseResponse response);

        void relieveContractFailed();
    }

    public interface Presenter {
        void getContractList(int pageSize, boolean isLoading,String membersSdName);

        /**
         * 合约解除
         *
         * @param relationId 订单ID
         */
        void relieveContract(String relationId);
    }
}
